<table border="1" cellpadding="3" cellspacing="0" bordercolor="#000000" style="border-collapse: collapse; table-layout:fixed;word-wrap:break-word;" width="100%" class="table_common">
    <tr>
        <th style="background-color: #B10505;color: #fff">地区</th>
        <th style="background-color: #B10505;color: #fff">大区</th>
        <th style="background-color: #B10505;color: #fff">小区</th>
        <th style="background-color: #B10505;color: #fff">省份</th>
        <th style="background-color: #B10505;color: #fff">城市</th>
        <th style="background-color: #B10505;color: #fff">专营店</th>
        <th style="background-color: #B10505;color: #fff">专营店编码</th>
        <th style="background-color: #B10505;color: #fff">所属双月</th>
        <th style="background-color: #B10505;color: #fff">项目类型</th>
        <th style="background-color: #B10505;color: #fff">项目名称</th>
        <th style="background-color: #B10505;color: #fff">状态</th>
        <th style="background-color: #B10505;color: #fff">截至提交时间</th>
        <th style="background-color: #B10505;color: #fff">已提交</th>
        <th style="background-color: #B10505;color: #fff">待审核</th>
        <th style="background-color: #B10505;color: #fff">已审核</th>
        <th style="background-color: #B10505;color: #fff">图片链接</th>
   </tr>
   <?php foreach ((array)$storeProList as $k => $v): ?>
    <?php
    $projectData = isset($proList[(int)$v['proId']]) ? $proList[(int)$v['proId']] : array();
    $storeData = isset($allStoreList[$v['storeId']]) ? $allStoreList[$v['storeId']] : array();
    ?>
   <tr align="center">
       <td><?=$storeData['area'];?></td>
       <td><?=$storeData['region'];?></td>
       <td><?=$storeData['spsarea'];?></td>
       <td><?=$storeData['province'];?></td>
       <td><?=$storeData['city'];?></td>
       <td><?=$storeData['storeName'];?></td>
       <td><?=$storeData['coding'];?></td>
       <td><?=$v['timeUnitStr']?></td>
       <td><?=$projectData['proTypeName']?></td>
       <td><?=$projectData['proName']?></td>
       <td><?=$v['auditRsStr']?></td>
       <td><?=date("Y-m-d H:i:s", $projectData['endTime'])?></td>
       <td><?=$projectData['storeStatusCount'] ? ($projectData['storeStatusCount']['auditing']+$projectData['storeStatusCount']['audited']) : '--'?></td>
      <td><?=$projectData['storeStatusCount'] ? $projectData['storeStatusCount']['auditing'] : '--'?></td>
      <td><?=$projectData['storeStatusCount'] ? $projectData['storeStatusCount']['audited'] : '--'?></td>
       <td>
           <?php if ($v['itemValue']): ?>
               <?php foreach ($v['itemValue'] as $itemK => $itemV): ?>
                   <?php
                   $imgUrl = isset($itemV['viewPath']) && $itemV['viewPath'] ? "http://www.dflpvmkt.com.cn".$itemV['viewPath'] : '';
                   echo $imgUrl ? '<a target="_blank" href="'.$imgUrl.'">'.$imgUrl.'</a><br>' : '';
                    ?>
               <?php endforeach ?>
           <?php endif ?>
       </td>
   </tr>
   <?php endforeach ?>
</table>